* {
  box-sizing: border-box;
}

[v-cloak] {
  display: none;
}

:root {
  --rootFontSize: 14px;
  --rootFontSizeMobile: 12px;
  --pTextIndent: 0;
  --pHeight: 30px;
  --liHeight: 28px;
  --codeLineHeight: 20px;
  --pMargin: 6px 0;
  --scrollbar-track-shadow: rgba(0, 0, 0, 0.1);
  --scrollbar-bg: transparent;
  --scrollbar-thumb: #3a8ee6;
}

#app {
  width: 100%;
  display: flex;
  position: fixed;
  background-color: #25272a;
  top: 0;
  left: 0;
  height: 100%;
  font-family: 微软雅黑;
  font-size: var(--rootFontSize);
}

.left-panel {
  width: 264px;
  height: 100%;
  position: relative;
  padding-top: 60px;
  /* left: 0; */
  /* top: 0; */
  color: white;
  overflow: auto;
  background-color: #25272a;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease; /* Firefox 4 */
  -webkit-transition: all 0.5s ease; /* Safari 和 Chrome */
  -o-transition: all 0.5s ease; /* Opera */
}

.panel-fold {
  width: 60px;
}

.operate-btn {
  position: absolute;
  cursor: pointer;
  right: 15px;
  top: 15px;
  width: 30px;
  height: 30px;
}

.btn-fold:before,
.btn-fold:after {
  content: "";
  position: absolute;
  background-color: white;
  left: 0;
  top: 14px;
  width: 30px;
  height: 3px;
  transform: rotate(45deg);
}

.btn-fold:after {
  transform: rotate(-45deg);
}

.btn-expand:before,
.btn-expand:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 24px;
  height: 10px;
  border-top: 3px solid white;
}

.btn-expand:after {
  top: 13px;
  height: 8px;
  border-bottom: 3px solid white;
}

.right-panel {
  flex: 1;
  position: relative;
  display: flex;
  background-color: #fff;
  transition: width 0.5s ease;
  -moz-transition: width 0.5s ease; /* Firefox 4 */
  -webkit-transition: width 0.5s ease; /* Safari 和 Chrome */
  -o-transition: width 0.5s ease; /* Opera */
}

.right-panel_title {
  padding-right: 10%;
  height: 60px;
  background-color: white;
  color: black;
  width: 100%;
  text-align: center;
  line-height: 60px;
  font-size: 24px;
  padding-left: 24px;
  border-bottom: 2px solid #83b9f3;
  font-weight: bolder;
  letter-spacing: 2px;
}

.right-panel .iframe-content {
  width: 100%;
  height: calc(100% - 60px);
  overflow: auto;
  position: absolute;
  left: 0;
  top: 60px;
  padding: 10px 5% 40px;
}

.iframe-content iframe {
  border: none;
  width: 100%;
  height: 100%;
}

.title {
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 24px;
}

.nav-item {
  display: flex;
  width: 100%;
  height: var(--pHeight);
  line-height: var(--pHeight);
  position: relative;
  font-size: var(--rootFontSize);
  overflow: hidden;
  cursor: pointer;
}

.nav-item .sub-nav {
  margin-left: 56px;
}
.nav-item-point::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: calc(50% - 3px);
  left: 40px;
  background-color: #ffffff;
}
.nav-item-list {
  flex-direction: column;
  height: auto;
}
.nav-item-list .nav-item-child {
  font-size: var(--rootFontSize);
  height: var(--pHeight);
  line-height: var(--pHeight);
  padding-left: 12px;
}
.nav-item-selected {
  background-image: linear-gradient(90deg, #1bca43 0%, #0fe5d8 100%);
}
.nav-item-selected::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background-color: #1bca43;
}

.md-box table {
  border-spacing: 0;
  border: 1px solid #ddd;
}

.md-box tr th {
  white-space: nowrap;
  padding: 6px 12px;
  background-color: #d0e2d4;
}

.md-box tr td {
  padding: 8px 12px;
  border-top: 1px solid #ddd;
}

.md-box p {
  text-indent: var(--pTextIndent);
  line-height: var(--pHeight);
  margin: var(--pMargin);
}

.md-box ul {
  margin: var(--pMargin);
}

.md-box ul li {
  line-height: var(--liHeight);
}

.md-item {
  margin-bottom: 40px;
}

span {
  margin: 0 12px;
}

img {
  margin: 6px;
}

.item-box {
  padding: 6px 0;
}

pre {
  background-color: #eaeef5;
  padding: 10px;
  font-size: 14px;
  line-height: var(--codeLineHeight);
  border-radius: 6px;
  margin: 6px 0;
  overflow: auto;
}

pre code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* font-family: Source Code Pro,DejaVu Sans Mono,Ubuntu Mono,Anonymous Pro,Droid Sans Mono,Menlo,Monaco,Consolas,Inconsolata,Courier,monospace,PingFang SC,Microsoft YaHei,sans-serif; */
}

.md-box li > p {
  text-indent: 0;
}

table {
  width: 100%;
  min-width: 637px;
}

.scroll-box-container {
  display: flex;
  flex-direction: column;
}

.scroll-box {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  height: 0;
}

a {
  color: #199900;
}

.scroll-box::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px var(--scrollbar-track-shadow);
  background-color: transparent;
}

.scroll-box::-webkit-scrollbar {
  width: 5px;
  background-color: var(--scrollbar-bg);
}
/*滚动条滑块*/
.scroll-box::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0.5, transparent), to(transparent));
}
/*滚动条轨道*/
.scroll-box::-moz-scrollbar-track {
  box-shadow: inset 0 0 6px var(--scrollbar-track-shadow);
  background-color: transparent;
}

.scroll-box::-moz-scrollbar {
  width: 5px;
  background-color: var(--scrollbar-bg);
}

.scroll-box::-moz-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0.5, transparent), to(transparent));
}

.scroll-box::-ms-scrollbar-track {
  box-shadow: inset 0 0 6px var(--scrollbar-track-shadow);
  background-color: transparent;
}

.scroll-box::-ms-scrollbar {
  width: 5px;
  background-color: var(--scrollbar-bg);
}

.scroll-box::-ms-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0.5, transparent), to(transparent));
}
